package cn.tianya.irock.method;

import cn.tianya.irock.method.params.MethodParams;

public abstract class Method {

	private int methodId;
	private MethodParams params;
	
	public int getMethodId() {
		return methodId;
	}
	public void setMethodId(int methodId) {
		this.methodId = methodId;
	}
	public MethodParams getParams() {
		return params;
	}
	public void setParams(MethodParams params) {
		this.params = params;
	}
	
//	private String description;	
//	public String getDescription() {
//		return description;
//	}
//	public void setDescription(String description) {
//		this.description = description;
//	}
	
	public abstract void init();
	public abstract Object exec();
	
}
